Profiles

public interface Profiles implements EngineService

A service for managing Chromium profiles.

Functions

Link copied to clipboard
public abstract Profile defaultProfile()
Returns the default profile instance.
Link copied to clipboard
public abstract void delete(Profile profile)
Deletes the given profile from the list of available profiles, closes all browsers associated with it, releases all allocated resources and files in the user data directory.
Link copied to clipboard
public abstract Engine engine()
Returns the engine of this service.
Link copied to clipboard
public abstract List<Profile> list()
Returns an immutable list of the available profiles including the default profile.
Link copied to clipboard
public abstract Profile newIncognitoProfile(String name)
Creates a new incognito Profile instance with the given name.
Link copied to clipboard
public abstract Profile newProfile(String name)
Creates a new Profile instance with the given name.